package com.zhiyou100.model;

public class ResponseObject {
	// 返回的状态码 200 400 404....
	String code;
	// 返回的信息  用户名是否存在,是否可以注册
	String msg;
	// 得到的数据
	Object obj;
	// 有参构造函数
	public ResponseObject() {}
	public ResponseObject(String code,String msg,Object obj) {
		this.code=code;
		this.msg=msg;
		this.obj=obj;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	@Override
	public String toString() {
		return "ResponseObject [code=" + code + ", msg=" + msg + ", obj=" + obj + "]";
	}
	
	
}
